import request from "../utils/request";



let getMemberList = (page = 1, size = 5, data) => {
    return request({
        url: `/member/list/${page}/${size}`,
        method: 'GET',
        params: data
    })
}


let removeMember = (id) => {
    return request({
        url: `/member/${id}`,
        method: 'DELETE'
    })
}



export default {
    getMemberList,
    removeMember
}